<template>
  <div class="wrapper">
    <div class="header">
      <div class="headercontent">
        <img src="../assets/logo.png" alt="" class="headlog">
        <span class="headtitle">择由后台管理系统</span>
      </div>
    </div>
    <transition name="van-fade">
      <router-view />
    </transition>
    <div class="m-tabbar">
      <a class="m-tabbar-item is-active" @click="one()">
        <span class="m-tabbar-item-icon">
          <img src="../assets/dataimg.png" alt="" id="image">
        </span>
        <span class="m-tabbar-item-text">
          导入数据
        </span>
      </a>
      <a class="m-tabbar-item">
        <span class="m-tabbar-item-icon">
          <img src="../assets/customerinfor.png" alt="" id="image">
        </span>
        <span class="m-tabbar-item-text">
          客户信息
        </span>
      </a>
      <a class="m-tabbar-item">
        <span class="m-tabbar-item-icon">
          <img src="../assets/recommended.png" alt="" id="image_item">
        </span>
        <span class="m-tabbar-item-text">
          推荐系统
        </span>
      </a>
      <a class="m-tabbar-item">
        <span class="m-tabbar-item-icon">
          <img src="../assets/personal.png" alt="">
        </span>
        <span class="m-tabbar-item-text">
          个人中心
        </span>
      </a>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      ThirdColumn: '',
      SuperUser: false
    }
  },

  methods: {
    one() {
      alert("aaa")
    }  }}

</script>

<style scoped >
* {
  margin: 0;
  padding: 0;
}

.headlog {
  margin-left: 0.5rem;
  margin-top: 0.1rem;
}

/* 文字样式 */
.headtitle {
  position: absolute;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  margin-left: 20px;
  margin-top: 0.22rem;
}
#image_item {
  margin-top: -0.11rem;
}
.m-tabbar {
  display: flex;
  flex-direction: row;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  height: 1.22rem;
  background: #fff;
  border-top: 1px solid #e4e4e4;
}
.m-tabbar-item {
  flex: 1;
  text-align: center;
}
.m-tabbar-item-icon {
  display: block;
}
.m-tabbar-item-text {
  display: block;
  font-size: 10px;
  color: #949494;
}
.header {
  height: 1rem;
  background-color: #094572;
}
#image {
  margin-top: 0.11rem;
}
.m-tabbar-item-text {
  color: #094572;
}
</style>